<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="id" name="id" th:value="${entity.id}"
								class="form-control" type="hidden">
							<input id="deptId" name="deptId" th:value="${entity.deptId}" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">应用编号：</label>
								<div class="col-sm-8">
									<input id="appNo" name="appNo" class="form-control" type="text"
										th:value="${entity.appNo}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">应用名称：</label>
								<div class="col-sm-8">
									<input id="appName" name="appName" class="form-control"
										type="text" th:value="${entity.appName}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">心跳时间：</label>
								<div class="col-sm-8">
									<input id="heartBeatRate" name="heartBeatRate"
										class="form-control" type="text"
										th:value="${entity.heartBeatRate}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">超过几个心跳死亡：</label>
								<div class="col-sm-8">
									<input id="deadHeartCount" name="deadHeartCount"
										class="form-control" type="text"
										th:value="${entity.deadHeartCount}">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">状态:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input
										th:field="*{entity.active}" type="radio" name="active" value="1" />
										正常
									</label> <label class="radio-inline"> <input
										th:field="*{entity.active}" type="radio" name="active" value="0" />
										禁用
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所属部门：</label>
								<div class="col-sm-8">
									<input id="deptId" name="deptId" class="hidden" th:value="${entity.deptId}">
									 <input id="deptName" name="deptName"
										class="form-control" type="text" style="cursor: pointer;background:white;"
										onclick="openDept()" readonly="readonly" placeholder="所属部门" th:value="${entity.deptName}">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/schedule/app/edit.js">
	</script>
</body>
</html>
